﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 命令的参数
    /// </summary>
    public class CommandParam
    {
        /// <summary>
        /// 参数名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 参数描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 参数格式
        /// </summary>
        public string Format { get; set; }
        /// <summary>
        /// 正则校验
        /// </summary>
        public string Regex { get; set; }
        /// <summary>
        /// 是否是必须参数
        /// </summary>
        public bool Require { get; set; }
    }
}
